package demo1;

import java.text.SimpleDateFormat;
import java.util.Date;

public class TestGuid {

	public static void main(String[] args) {
		for (int i = 0; i < 100; i++) {
			System.out.println(MyGuid.Guid());
			SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");//设置日期格式
			System.out.println(df.format(new Date()));// new Date()为获取当前系统时间
			try {
				Thread.sleep(10*1000);
				//System.out.println(System.currentTimeMillis());
			} catch (InterruptedException e) {
				e.printStackTrace();
			}
		}
	}
	

}
